<template>
    <div class="login-log-list">
        <el-card shadow="hover">
            <div slot="header" class="head-title">
                <span>系统设置</span>
            </div>
            <div>
                <el-form ref="form" :model="form" label-width="120px">
                    <el-form-item label="系统总内存">
                        <el-input v-model="form.name"></el-input>
                    </el-form-item>
                    <el-form-item>
                        <el-button type="primary" @click="onSubmit">保存</el-button>
                        <el-button>取消</el-button>
                    </el-form-item>
                </el-form>
            </div>
        </el-card>
    </div>
</template>

<script>
export default {
    name: "setting",
    data() {
        return {
            form: {
                name: '',
                region: '',
                date1: '',
                date2: '',
                delivery: false,
                type: [],
                resource: '',
                desc: ''
            }
        }
    },
    methods: {
        onSubmit() {
            console.log('submit!');
        }
    }
}
</script>

<style scoped>
.head-title{
    font-size: 17px;
    font-weight: 550;
}
</style>